package Service;

import Bean.BeanCourse;
import Bean.BeanTeacher;

import java.util.ArrayList;

public interface CourseService {
//    public void teacheradd(String teacherid, String pwd, String teachername, String teacher_photo, String teacher_introduction) throws Exception;
//    public void teacherupdate(String teacherid, String teachername, String pwd, String teacher_photo, String teacher_introduction) throws Exception;
//    public void teacherdelete(String teacherid) throws Exception;
    public ArrayList<BeanCourse> getCourses() throws Exception;
    public ArrayList<BeanCourse> getCoursesByClass(int id) throws Exception;
}
